<?php
namespace app\indexLogin\controller;
use app\indexLogin\model\Store;
use app\indexLogin\model\WeiboNice;
use think\Controller;
use think\Request;

class Manage extends Controller{
   /**
    * 点赞
    */
    public  function nice(){
       $data=Request::instance()->param();
        $data['nicetime']=time();
        return (new WeiboNice())->add($data);
    }

    /**
     * 收藏
     */
    public function store(){
        $data=Request::instance()->param();
        $data['stime']=time();
//        dd($data);
        return (new Store())->add($data);die;
    }
}
